package com.pointi.emoTools;

public class WorkList
{
	public String _Seq ;
	public String _CallKey ;
	public String _ClientNo ;
	public String _ServerNo ;
	public String _ServerAddress ;
	public String _ServerPort ;
	public String _FilePath ;
	public String _FileName ;
	
	public WorkList()
	{
		_Seq = "" ;
		_CallKey = "" ;
		_ClientNo = "" ;
		_ServerNo = "" ;
		_FilePath = "" ;
		_FileName = "" ;
	}
	
	public WorkList(String inSeq, String inCallKey, String inClientNo, String inServerNo)
	{
		_Seq = inSeq ;
		_CallKey = inCallKey ;
		_ClientNo = inClientNo ;
		_ServerNo = inServerNo ;
	}
	
	// ____________________________________________________________________________________________________
	// Setter
	
	public void fnSetDestination(String inAddress, String inPort)
	{
		_ServerAddress = inAddress ;
		_ServerPort = inPort ;
	}
	
	public void fnSetFileInfo(String inFilePath, String inFileName)
	{
		_FilePath = inFilePath ;
		_FileName = inFileName ;
	}
	
	// ____________________________________________________________________________________________________
	// Getter
	
	public String fnGetCallKey() { return _CallKey ; }
	public String fnGetServerNo() { return _ServerNo ; }
	public String fnGetServerAddress() { return _ServerAddress ; }
	public int fnGetServerPort() { return Integer.valueOf(_ServerPort) ; }
	public String fnGetFilePath() { return _FilePath ; }
	public String fnGetFileName() { return _FileName ; }
	public String fnGetFileInfo() { return _FilePath + _FileName ; }
}